package com.tansaction.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 股东信息表
 * @TableName sys_shareholder
 */
@TableName(value ="sys_shareholder")
@Data
public class SysShareholder implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 股东编号
     */
    private String shareholderNumber;

    /**
     * 股东名称
     */
    private String shareholderName;

    /**
     * 股东持股/变动
     */
    private String shareholderShareholding;

    /**
     * 股东持股比例
     */
    private BigDecimal shareholderRatio;

    /**
     * 股东时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date shareholderCreate;

    /**
     * 
     */
    private String shareholderStatus;

    /**
     * 
     */
    @TableLogic
    private Integer delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}